package ooday05;
/**季节枚举*/
public enum Season {
    //表示Season的固定的4个对象
    //public static final Season SPRING=new Season("春天","暖和);//不能new对象
    SPRING("春天","暖和"),SUMMER("夏天","热"),AUTUMN("秋天","凉爽"),WINTER("冬天","冷");//表示Season的四个对象----4个常量
    private String seasonName;
    private String seasonDesc;

    public String getSeasonName() {
        return seasonName;
    }

    public void setSeasonName(String seasonName) {
        this.seasonName = seasonName;
    }

    public String getSeasonDesc() {
        return seasonDesc;
    }

    public void setSeasonDesc(String seasonDesc) {
        this.seasonDesc = seasonDesc;
    }

    Season(String seasonName, String seasonDesc) {
        this.seasonName = seasonName;
        this.seasonDesc = seasonDesc;
    }



}
